<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模板化</title>
</head>
<body>
    <script>
       //模块化
        const util ={
            sum(a,b){
                return a+b;
            }
        }
        //目前的浏览器不支持
        //export util;



    </script>
</body>
</html>